package field.objects;

import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;

public abstract class Weapon extends Sprite {
    private int damage;
    private long rapidity;
    private Sound atkSound;
    private float atkSpeed;

    public float getAtkSpeed() {
        return atkSpeed;
    }

    public void setAtkSpeed(float atkSpeed) {
        this.atkSpeed = atkSpeed;
    }

    public Sound getAtkSound() {
        return atkSound;
    }

    public void setAtkSound(Sound atkSound) {
        this.atkSound = atkSound;
    }

    public long getRapidity() {
        return rapidity;
    }

    public void setRapidity(long rapidity) {
        this.rapidity = rapidity;
    }

    public Weapon(Texture texture) {
        super(texture);
    }

    public int getDamage() {
        return damage;
    }

    public void setDamage(int damage) {
        this.damage = damage;
    }

    abstract public Sound loadSound();

    abstract public void load();

    abstract public void dispose();
}
